<template>
  <div @click="onTap" :class="['tag-class', cname]">
    <slot></slot>
  </div>
</template>

<script>
export default {
	props: {
		cname: {
			type: String,
			default: ''
		}
	},
	methods: {
		onTap(e) {
			this.$emit('ontag')
		}
	}
}
</script>
<style scoped lang="scss">
</style>
